<!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.0 Transitional//EN" "http://www.w3.org/TR/xhtml1/DTD/xhtml1-transitional.dtd">
<html xmlns:a="https://github.com/pylonide/pylon" xmlns="http://www.w3.org/1999/xhtml">
    <head>
        <script src="../ppc.js"></script>
    </head>
    <body>
        <a:skin src="../skins.xml" media-path="../images/" icon-path="../icons/" />
        
        <a:appsettings debug="0" />

        <div id="tdiv" style="border:1px solid red;width:100px;height:100px;">
            
        </div>
        
        <a:script>
            tdiv.addEventListener("click", function(e){
                alert(e.currentTarget.serialize());
            });
        </a:script>
    </body>
</html>